#include "Stack.h"
int main()
{
    pStack ps = NULL;
    IniteStack(&ps);
    char arr[MAXSIZE * 2];
    scanf("%s", &arr);
    int len = strlen(arr);
    int i;
    for (i = 0; i < len / 2; i++)
    {
        Push(ps, arr[len - 1 - i]);
    }
    if (memcmp(arr, ps->data, len / 2) == 0)
    {
        printf("The same.\n");
    }
    else
    {
        printf("Not same.\n");
    }
    Destroy(&ps);
    return 0;
}
